package service;

import domain.Major;

import java.sql.SQLException;
import java.util.List;

public interface IMajorService {
    int addMajor (Major major) throws SQLException;
    int delMajor(Major major)throws SQLException;
    int updMajor(Major major)throws SQLException;

    List<Major> selMajor(Major major)throws SQLException;
}
